<?php

class Ddup_Featured_Block_Adminhtml_Products_Edit_Tabs extends Mage_Adminhtml_Block_Widget_Tabs
{
	public function __construct()
    {
        parent::__construct();
        $this->setId('products_group_tabs');
        $this->setDestElementId('edit_form');
        $this->setTitle(Mage::helper('featured')->__('Products Group Information'));
    }
    
    protected function _beforeToHtml()
    {
        $this->addTab('form_section', array(
            'label'     => Mage::helper('featured')->__('Products Group Information'),
            'title'     => Mage::helper('featured')->__('Products Group Information'),
            'content'   => $this->getLayout()->createBlock('featured/adminhtml_products_edit_tab_form')->toHtml()
        				 	. $this->getLayout()->createBlock('featured/adminhtml_products_edit_tab_grid')->toHtml(),
        ));
        
        return parent::_beforeToHtml();
    }
}